package com.ling.sdk.utils;

import android.content.Context;
import android.util.Log;

import com.orhanobut.hawk.Hawk;
import com.orhanobut.hawk.LogInterceptor;
import com.orhanobut.hawk.NoEncryption;

/**
 * Created by MinF on 2017/11/24 0024.
 */

public class HawkJava {


    public static void init(Context app)
    {

        Hawk.init(app).setLogInterceptor(new LogInterceptor() {
            @Override
            public void onLog(String message) {
                Log.w("HawkCache", message);
            }
        }).setEncryption(new  NoEncryption()).build();
    }
}
